From 68b2606b2434c427ffe6c20d4c3b2031c605ecc8 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 5 Feb 2001 15:47:07 +0000 Subject: [PATCH] (x_display_and_set_cursor): Check for the focus frame's selected window instead of selected_window. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 3d0b151370d..14a34bd2eca 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10877,8 +10877,8 @@ x_display_and_set_cursor (w, on, hpos, vpos, x, y) } else { - if (w != XWINDOW (selected_window) - || f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame) + if (f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame + || w != XWINDOW (f->selected_window)) { extern int cursor_in_non_selected_windows; -- 2.30.2